package com.example.teesystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.teesystem.common.utils.Response;
import com.example.teesystem.entity.Exam;
import com.example.teesystem.entity.ExamPaper;
import com.example.teesystem.entity.vo.exam.ExamInsertVo;

/**
* @author NieYaShi
* @description 针对表【t_exam】的数据库操作Service
* @createDate 2022-04-15 14:57:54
*/
public interface ExamService extends IService<Exam> {
    Response addExamAnswer(ExamInsertVo examInsertVo);
    Response obtainExaminationPaper(Integer paperId);
    Response recoveryExamIssue(Integer paperId);
    Boolean checkAnswer(String realAnswer, String studentAnswer);
    Response submitExamAnswer(ExamInsertVo examInsertVo);
    void getExamPaperSimpleMessage(Integer paperId, int[] selectedIssueIds);
    void finishExam(ExamPaper examPaper);
}
